import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

import 'bootstrap/dist/js/bootstrap'// 引入 Bootstrap JS
import 'bootstrap/dist/js/bootstrap.bundle.min.js'// 引入 Bootstrap Bundle JS（包含 Popper.js）
import persist from 'pinia-plugin-persistedstate'//持久化

const app = createApp(App)

app.use(createPinia().use(persist))
app.use(router)

app.mount('#app')
